﻿namespace Basic.Repository.SqlSugar;

/// <summary>
/// DBConfig configuration
/// </summary>
public class DBConfig
{
    public bool MutiDBEnabled { get; set; }
    public bool SqlAOP { get; set; }
    public bool CQRSEnabled { get; set; }
    public string MainDb { get; set; }

    public List<MultiDBOperate> DataBase { get; set; }

}

public class MultiDBOperate
{

    public bool Enabled { get; set; }

    public string ConnId { get; set; }

    public int HitRate { get; set; }

    public string Connection { get; set; }

    public DbType DbType { get; set; }
}